<template>
	<view class="page">
		<view class="flex benben-position-layout flex flex-wrap align-center contactService_flex_0"
			:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
			<view class='flex flex-wrap align-center justify-between flex-sub contactService_fd0_0'>
				<view class='flex flex-wrap align-center contactService_fd0_0_c0' @tap.stop="handleJumpDiy"
					data-type="back" data-url="1">
					<image class='contactService_fd0_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"56.png"'></image>
				</view>
				<view class='flex flex-wrap align-center'>
					<text class='contactService_fd0_0_c1_c0'>联系客服</text>
				</view>
				<view class='flex flex-wrap align-center contactService_fd0_0_c2'>
				</view>
			</view>

		</view>
		<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
		<!---flex布局flex布局开始-->
		<view class="flex flex-direction flex-wrap align-center benben-flex-layout contactService_flex_1">
			<image class='contactService_fd1_0' mode="aspectFit" src='https://app.ezsdcsm.com/images/134.png'></image>
			<view class='contactService_fd1_1'>
				<!-- <u-parse :html="system.content"></u-parse> -->
				<text>{{system}}</text>
			</view>
			<view class='flex flex-wrap align-center contactService_fd1_2'>
				<text>工作时间： </text>
				<text>08:30 - 18:00</text>
			</view>
			<button class='contactService_fd1_3' @tap="getgiveMobile">拨打电话</button>
		</view>
		<!---flex布局flex布局结束-->

	</view>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'
	export default {
		components: {},

		data() {
			return {
				"system": "",
			};
		},
		computed: {

		},
		watch: {},
		onLoad(options) {
			this.getgetSystem()
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//获取联系客服
			async getgetSystem() {
				//请求方法
				//数据验证
				let systemData = await this.$api.post(global.apiUrls.post636385f21f818, {
					
				});
				if (systemData.data.code != 1) {
					this.$message.info(systemData.data.msg);
					return
				}
				let systeminfo = systemData.data;
				this.system = systeminfo.data;
				// console.log(this.system);
			},
			//拨打电话
			getgiveMobile() {
				// this.callMobile(this.system.customer_service_telephone);
				let _this = this;
				uni.makePhoneCall({
					phoneNumber: _this.system //仅为示例
				});
			}
		}
	};
</script>
<style lang="scss" scoped>
	.contactService_fd1_0 {
		width: 509rpx;
		height: 321rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 0rpx 42rpx 0rpx;
	}

	.contactService_fd1_1 {
		margin: 0rpx 0rpx 24rpx 0rpx;
		font-size: 56rpx;
		font-weight: 500;
		color: rgba(0, 0, 0, 1);
	}

	.contactService_fd1_2 {
		font-size: 28rpx;
		font-weight: 400;
		color: rgba(102, 102, 102, 1);
		margin: 0rpx 0rpx 80rpx 0rpx;
	}

	.contactService_fd1_3 {
		background: #1178F0;
		background-size: 100% !important;
		border-radius: 44rpx 44rpx 44rpx 44rpx;
		font-size: 32rpx;
		color: #fff;
		width: 686rpx;
		height: 88rpx;
		line-height: 88rpx;
		font-weight: 700;
	}

	.contactService_flex_1 {
		padding: 120rpx 0rpx 0rpx 0rpx;
	}

	.contactService_fd0_0 {
		margin: 0rpx 32rpx 0rpx 32rpx;
	}

	.contactService_fd0_0_c0 {
		width: 200rpx;
	}

	.contactService_fd0_0_c0_c0 {
		width: 18rpx;
		height: 32rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.contactService_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333;
		line-height: 88rpx;
	}

	.contactService_fd0_0_c2 {
		width: 200rpx;
	}

	.contactService_flex_0 {
		border-bottom: 1px solid #eee;
		background: #fff;
		background-size: 100% !important;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.page {
		min-height: calc(100vh - var(--window-bottom));
		background: #fff;
		background-size: 100% auto !important;
	}
</style>
